package com.ngc.mall.domain;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ngc.mall.common.configure.mybatisPlus.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 *  广告信息
 *
 * @author : Chen Xiao Lin
 * @Date : 2023/4/2 15:46
 **/

@Builder
@Data
@TableName("sale_ad")
@NoArgsConstructor
@AllArgsConstructor
public class SaleAdDomain extends BaseDomain {



    private String name;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 失效时间
     */
    private String expireTime;

    /**
     * 是否启用
     */
    private Boolean isEnabled;

    /**
     * 备注
     */
    private String note;

    private Long spuId;

    @TableLogic
    private Boolean deleted;

    private String img;
}
